<!-- BEGIN: center-->
	<script language="JavaScript">
	function goCancel(){
		window.location = "?mod=member&act=controlpanel";
	}
	function doChange(){
				var frm = document.frmChange;
				if(frm.password.value == ''){
					alert('Nhập mật khẩu hiện tại!');
					frm.password.focus();
					return false;
				}
				if(frm.n_password.value == ''){
					alert('Nhập mật khẩu mới');
					frm.n_password.focus();
					return false;
				}
				if(frm.n_password.value.length<6){
					alert('Mật khẩu dài hơn 6 ký tự');
					frm.newpassword.focus();
					return false;					
				}
				if(frm.c_password.value != frm.n_password.value){
					alert('Xác nhận lại mật khẩu');
					frm.c_password.focus;
					return false;
				}
				frm.submit();
			}
</script>
	<form name="frmChange" method="post" action="">
	<input type="hidden" name="frmAction" value="doChange" />
<table cellpadding="3" cellspacing="3" border="0" width="100%">
	<!-- BEGIN: True-->
	<tr>
		<td colspan="2">
			Ban da doi mat khau thanh cong!
		</td>
	</tr>
	<!-- END: True-->
	<!-- BEGIN: False-->
	<tr>
		<td colspan="2">
			Mat khau cu khong dung!
		</td>
	</tr>
	<!-- END: False-->
	<tr>
		<td colspan="2" style="font-size: 16px;font-weight: bold;">Member Login</td>
	</tr>
	<tr>
		<td align="right">Password:</td>
		<td><input name="password" type="password" value="" style="width: 200px;" autocomplete="off"/></td>
	</tr>
	<tr>
		<td align="right">New Password:</td>
		<td><input name="n_password" type="password" value="" style="width: 200px;" autocomplete="off"/></td>
	</tr>
	<tr>
		<td align="right">Confirm Password:</td>
		<td><input name="c_password" type="password" value="" style="width: 200px;" autocomplete="off"/></td>
	</tr>
	<tr>
		<td colspan="2" align="center">
			<input type="button" value="Agree" name="Agree" onclick="doChange();" />
			<input type="button" value="Cancel" name="Cancel" onclick="goCancel();" />
		</td>
	</tr>
</table>
</form>

<!-- END: center-->